package com.ruoyi.service.jpjs.municipal;

import com.ruoyi.domain.jpjs.common.machinery.Machinery;
import com.ruoyi.domain.jpjs.common.machinery.MachineryDay;
import com.ruoyi.domain.jpjs.common.machinery.MachineryImport;
import com.ruoyi.domain.jpjs.common.machinery.MachineryNewMonth;
import com.ruoyi.domain.jpjs.common.mater.Mater;
import com.ruoyi.domain.jpjs.common.mater.MaterCount;
import com.ruoyi.domain.jpjs.common.mater.MaterDay;
import com.ruoyi.domain.jpjs.common.mater.MaterImport;
import com.ruoyi.domain.jpjs.common.municipal.Income;
import com.ruoyi.domain.jpjs.common.municipal.IncomeDetail;
import com.ruoyi.domain.jpjs.common.municipal.IncomeParam;
import com.ruoyi.domain.jpjs.common.municipal.expend.Manage;
import com.ruoyi.domain.jpjs.common.municipal.expend.Team;

import java.util.List;
import java.util.Map;

/**
 * @author C.fw
 * @explain 进度计划业务层
 * @since 2021/2/22 10:15
 */
public interface ManageService {

    public List<Manage> queryManageList(Manage manage);

    public int insertManage(Manage manage);

    public String checkMonthUnique(Manage manage);

    public String checkMonthUniqueEdit(Manage manage);

    public int updateManage(Manage manage);

    public int deleteManageById(String manageId);

    public List<Team> queryTeamList(Team team);

    public int insertTeam(Team team);

    public int updateTeam(Team team);

    public int deleteTeamById(String teamId);

    public List<Mater> queryMaterList(Mater mater);

    public List<MaterDay> queryMaterDayList(MaterDay materDay);

    public int insertMaterialDay(MaterDay materDay);

    public int updateMaterialDay(MaterDay materDay);

    public String checkPurchaseDateUnique(MaterDay materDay);

    public int checkPurchaseDateUniqueEdit(MaterDay materDay);

    public int deleteMaterialDayById(String ids);

    public int updateMater(Mater mater);

    public int addMater(Mater mater);

    public List<MaterDay> queryMaterDayListBypId(MaterDay materDay);

    public String checkMaterUnique(Mater mater);

    public String checkMaterUniqueEdit(Mater mater);

    public int checkMaterUniqueAdd(Mater mater);

    public int deleteMaterialById(String materialIds);

    public List<Mater> queryMaterForCount(Mater mater);

    public List<Mater> queryMaterForQuantity(Mater mater);

    public List<Mater> queryMonthList(Mater mater);

    public List<Mater> queryMaterForPrevious(Mater mater);

    public int insertMachinery(Machinery machinery);

    public String checkMachineryUniqueAdd(Machinery machinery);

    public List<Machinery> queryMachinerylist(Machinery machinery);

    public String checkMachineryUniqueEdit(Machinery machinery);

    public int updateMachinery(Machinery machinery);

    public String importMaterDay(List<MaterDay> materDayList,String materId);

    public List<MachineryDay> queryMachineryDayList(MachineryDay machineryDay);

    public int insertMachineryDay(MachineryDay machineryDay);

    public String checkDateUnique(MachineryDay machineryDay);

    public List<MachineryDay> queryMachineryDayListBypId(MachineryDay machineryDay);

    public String checkDateUniqueEdit(MachineryDay machineryDay);

    public int updateMachineryDay(MachineryDay machineryDay);

    public int deleteMachineryDayById(String ids);

    public List<Machinery> queryMachineryForCount(Machinery machinery);

    public int updateMachineryTotalPrice(Machinery machinery);

    public int deleteMachineryById(String machineryIds);


    public List<Machinery> queryMachinerylistMonth(Machinery machinery);

    public List<Machinery> queryMachineryForCountMonth(Machinery machinery);

    public int insertMachineryMonth(Machinery machinery);

    public String checkMachineryUniqueAddMonth(Machinery machinery);

    public String checkMachineryUniqueEditMonth(Machinery machinery);

    public int updateMachineryMonth(Machinery machinery);

    public int deleteMachineryByIdMonth(String machineryIds);

    public int updateMachineryMonthTotalPrice(Machinery machinery);

    public List<MachineryDay> queryMachineryDayListMonth(MachineryDay machineryDay);

    public int insertMachineryDayMonth(MachineryDay machineryDay);

    public String checkDateUniqueMonth(MachineryDay machineryDay);

    public List<MachineryDay> queryMachineryDayListBypIdMonth(MachineryDay machineryDay);

    public String checkDateUniqueEditMonth(MachineryDay machineryDay);

    public int updateMachineryDayMonth(MachineryDay machineryDay);

    public int deleteMachineryDayByIdMonth(String ids);

    public String importMachineryDay(List<MachineryDay> machineryDayList,String machineryId);

    public String importMachineryDayMonth(List<MachineryDay> machineryDayList,String machineryId);

    public Machinery updateMachineryPurchase(MachineryDay machineryDay);

    public Machinery updateMachineryPurchaseMonth(MachineryDay machineryDay);

    public Mater updateMaterPurchase(MaterDay materDay);

    public int updateMaterCount(MaterCount materCount);

    public int queryMaterCount(MaterCount materCount);

    public int insertMaterCount(MaterCount materCount);

    public int deleteMaterCount();

    public String importMaters(List<MaterImport> list, MaterImport materImport);

    public String importMachinery(List<MachineryImport> list, MachineryImport machineryImport);

    public String importMachineryMonth(List<MachineryNewMonth> list, MachineryNewMonth machineryNewMonth);
}
